#include"shm.hpp"
#include"namepipe.hpp"
int main()
{
shm cli(pathname,g_id,gCreator);

char*shmaddr=(char*)cli.addr();
Namepipe fifo(com_path,Creater);
fifo.openforwrite();

sleep(10);
char ch='A';
while(ch<='Z')
{
shmaddr[ch-'A']=ch;
string temp="wake";
fifo.writenamepipe(temp);

sleep(2);
ch++;








} 



}
